{include header.tpl}
{include nav.tpl}
{include search.tpl}

<div class="title"><a href="index.php?index-talk-tid-{$comm['fid']}.htm">返回帖子</a>-<a href="index.php">首页</a></div>

<script src="jy_src/js/card.js?{echo $jy_version_of_js;}"></script>
	{//hook tpl_index_subreply_start.htm}
<div class="l">
	<div class="box">
	<div class="l large dline">{$author['name']}(UID:{$author['uid']} {if $isonline}在线{else}离线{/if})：{$comm['content']}..</div>
	<div class="l grey">时间：{$comm['time']}<br/>回复数：{$comm['tj']}</div>
	{//hook tpl_index_subreply_author.htm}
	</div>
</div>
<div class="l">
{if empty($subreplys)}
	暂无回帖
{else}
{$card_id = 0;}
{foreach $subreplys as $each_rep}
	{$card_id++;}
					<a name="ausercard{$card_id}"></a>
	<div class="box l">
		<div class="grey">{$each_rep['time']}</div>
		<div class="l"><a href="#ausercard{$card_id}" onclick="showCard(event, {$card_id});">{$each_rep['user']['name']}</a>(UID:{$each_rep['user']['uid']} {if $each_rep['isonline']}在线{else}离线{/if})：{$each_rep['content']}</div>
		<div id="usercard{$card_id}" class="userCard">
邮箱：{if empty($each_rep['user']['email'])}暂无记录{else}{$each_rep['user']['email']}{/if}<br/>
手机：{if empty($each_rep['user']['phone'])}暂无记录{else}{$each_rep['user']['phone']}{/if}</div>
	
		<div class="right">
		
	{if in_array($_user_uid, $bbs['master'])}
			{//hook tpl_index_subreply_manage_pb_before.htm}
			<a href="index.php?manage-pbspl-rid-{$each_rep['rid']}.htm">屏蔽</a>
			{//hook tpl_index_subreply_manage_pb_after.htm}
	{/if}
		#<a href="index.php?simpost-subreply-fid-{$comm['cid']}-uname-{echo base64_encode($each_rep['user']['name'])}.htm">回复</a>
		</div>
		{//hook tpl_index_subreply_each_rep_end.htm}
	</div>
{/foreach}
{/if}
</div>
{if !empty($pages)}<div class="page">{$pages}</div>{/if}
	{//hook tpl_index_subreply_before_form.htm}
<script src="jy_src/js/face.js?{echo $jy_version_of_js;}"></script>
<a name="faceadd"></a>
<div class="title">快速回帖</div>
<div class="form-simp">
	<form action="index.php?simpost-simpsubadd.htm" method="post" name="simpsub">
		<input type="hidden" value="{$comm['cid']}" name="fid"/></p>
		<p><textarea name="content" cols="26" rows="3" class="form-textarea" id="txtDemo">@{$uname} </textarea></p>
	{//hook tpl_index_subreply_in_form.htm}
		<p><input type="submit" value="发布回复" name="sub" class="submit"/>(500字以内) .<a href="#faceadd" onclick="showFace(event);">插入表情</a></p>
		<div id="facePanel"></div>
		<p>[<a href="index.php?simpost-subadd-fid-{$comm['cid']}-author-{echo base64_encode($uname)}.htm">高级回复</a>]</p>
	</form>
</div>
{include ly.tpl}
{include footer.tpl}